/*
* baseaicode13
*/
package com.kun.sun.baseaicode133.entity;

/**
*  的实体类的状态
*
* @author baseaicode13
*/
public enum Baseaicode133State implements java.io.Serializable {
   //枚举定义在此
    ;

    public String val;
    Baseaicode133State(String val) {
        this.val=val;
    }

    /**
    * 根据状态名称查询状态
    *
    * @param stateName
    * @return
    */
    public static Baseaicode133State getEnum(String stateName) {
        for (Baseaicode133State baseaicode133State : Baseaicode133State.values()) {
            if (baseaicode133State.name().equalsIgnoreCase(stateName)) {
                return baseaicode133State;
            }
        }
        return null;
    }

    @Override
    public String toString() {
         return this.name();
    }

}
